
{% extends "template.html" %}

{% block menu %}
<li> <a href='/reg_tenant'>Register as tenant</a>.</li>
<li><a href='/reg_landlord'>Register as landlord</a></li>
<li><a href="{{ url }}">{{ url_linktext }}</a></li>
{% endblock menu %}

{% block right %}
<h2>Welcome to Nyumba Search, {{username}}.
</h2><p>
    You can register as a <a href='/reg_landlord'>landlord</a> or a <a href='/reg_tenant'>tenant</a>.<p>
<p>If you have some rentals to let and you want to get tenants at just a touch of a button or you are relocating and you are wondering where to start search for an house then Nyumba Search this is were you need to be.</p>

<p>This is absolutely free site meant to help you and others like you.</p>

<p>All you need to do is to sign up and you are ready to go.</p>

<p>We hope you will enjoy</p>


    <form id="register" action="{% url Register %}" enctype="multipart/form-data" method="post">
        <fieldset>
            <legend>Registration details</legend>
            <div><label>Names:</label></div>
            <div><input type="text" name="names" minlength="4" class="required"/></div>
            <div><label>Email (Will never be displayed or shared):</label></div>
            <div><input type="text" name="email"  class="required email"/></div>
            <div><label>Password:</label></div>
            <div><input type="password" name="password"  minlength="6"   class="required"/></div>
            <div><label>About me:</label></div>
            <div><textarea name="about" rows="6" style="width: 95%"  class="required" minlength="60"></textarea></div>
        </fieldset>
        <div><input type="submit" value="Register" /></div>
    </form>

{% endblock right %}